﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/AdminMaster.master" CodeFile="torestaurants.aspx.cs" Inherits="MasterPages_Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="admin_ContentPlaceHolder" Runat="Server">

<div id="luckyrestaurant_list" style="width:99%; height:30%;vertical-align:top;overflow:auto; background-color:#aaaadd;border-width:1px;border-style:solid; border-color:Lime">
    <asp:DataGrid id="luckyrestaurant_datagrid" runat="server" SelectedItemStyle-BackColor="#99ccff" Width="100%"
PagerStyle-Visible="False" PageSize="10" ItemStyle-CssClass="tableItem" HeaderStyle-CssClass="tableHeader"
 HeaderStyle-BackColor="#aaaadd" BorderColor="black" BackColor="AntiqueWhite" Font-Size="medium"
AutoGenerateColumns="False" DataKeyField="restaurant_id" ShowHeader="True" OnItemCommand="OnClickDetailBtn" >

<Columns>
<asp:templatecolumn headertext="序 号" ItemStyle-Width="50px" >
<itemtemplate>
<%# Container.ItemIndex+1 %>
</itemtemplate>
</asp:templatecolumn>           
<asp:boundcolumn ItemStyle-Width="150px" runat="server"
DataField="provider" HeaderText="餐厅名" >
</asp:boundcolumn>
<asp:boundcolumn ItemStyle-Width="100px" runat="server"
DataField="phone" HeaderText="电 话" >
</asp:boundcolumn>
<%--<asp:boundcolumn ItemStyle-Width="80px" runat="server"
DataField="total" HeaderText="菜品订量" >
</asp:boundcolumn>--%>
<asp:boundcolumn ItemStyle-Width="400px" runat="server"
DataField="address" HeaderText="地 址" >
</asp:boundcolumn>
<asp:TemplateColumn headertext="详 细" ItemStyle-Width="100px">
<ItemTemplate>
<asp:Button ID="detail_button" runat="server"
 Text="显示" >
</asp:Button>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
</div>
<div id="details_info" style="width:100%; height:57%; text-align:top">
<asp:TextBox ID="details_textbox" Runat="server" Readonly="true" Width="98%" Height="330px" TextMode="multiline">
</asp:TextBox>
</div>
<div id="tool_bar" style="width:100%">
<table>
<tr><td><asp:Button ID="copytoclickboard" runat="server" Text="复制到剪切板"></asp:Button></td>
<td><asp:Button ID="finishbatch_button" Text="发送完成" runat="server" OnClick="OnClickFinishBatchBtn" /></td>
</tr>
<tr>
<td colspan="2"><asp:Label ID="notice_done_label" runat="server"></asp:Label></td>
</tr>
</table>
</div>

</asp:Content>

